package com.zhiyou.app.shop.manager.dao.pojo;

import java.util.Date;

public class TaskLock extends BasePojo {
	private static final long serialVersionUID = 1L;
	private String name;
	private Boolean isLocked;
	private Date timeAcquired;
	private Date timeReleased;
	private Long timeLeased;
	
	public TaskLock() {
		super();
	}
	public TaskLock(String id) {
		super(id);
	}
	
	public TaskLock(String name, Boolean isLocked, Date timeAcquired,
			Date timeReleased, Long timeLeased) {
		super();
		this.name = name;
		this.isLocked = isLocked;
		this.timeAcquired = timeAcquired;
		this.timeReleased = timeReleased;
		this.timeLeased = timeLeased;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Boolean getIsLocked() {
		return isLocked;
	}
	public void setIsLocked(Boolean isLocked) {
		this.isLocked = isLocked;
	}
	public Date getTimeAcquired() {
		return timeAcquired;
	}
	public void setTimeAcquired(Date timeAcquired) {
		this.timeAcquired = timeAcquired;
	}
	public Date getTimeReleased() {
		return timeReleased;
	}
	public void setTimeReleased(Date timeReleased) {
		this.timeReleased = timeReleased;
	}
	public Long getTimeLeased() {
		return timeLeased;
	}
	public void setTimeLeased(Long timeLeased) {
		this.timeLeased = timeLeased;
	}
	
	
}
